﻿<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
.clearfix:after{ content:""; display:block;visibility:hidden; height:0; clear:both;}
.clearfix {zoom:1;}
.box{ width:300px; margin:0 auto;} 
.mt{ margin-top:10px;}
.bgWrite{background:#fff;box-shadow:0 1px 1px rgba(97,97,97,0.1)}
.musicBus{overflow:hidden; border:1px solid #e2e2e2;}
.directNew{ padding:5px 0 5px 10px;}
.directNew li{ height:20px; float:left; overflow:hidden;zoom:1;line-height:20px; overflow:hidden; padding:5px 0 5px 7px; margin:0 8px 0 0; display:inline;}
.directNew li a.directName{float:left; height:20px;line-height:20px;font-size:18px;}
/* 按钮 */

.button {cursor:pointer;-moz-border-radius: 8px;-webkit-border-radius: 8px;border-radius: 8px;-moz-box-shadow: inset 0 -1px 3px rgba(255,255,255,0.5), 0 2px 2px rgba(0,0,0,0.2);-webkit-box-shadow: inset 0 -1px 3px rgba(255,255,255,0.5), 0 2px 2px rgba(0,0,0,0.2);box-shadow: inset 0 -1px 3px rgba(255,255,255,0.5), 0 2px 2px rgba(0,0,0,0.2);border: 1px solid;padding: 8px 12px;padding: 5px 8px 3px 8px\9;padding: 7px 14px\0;color: #fff;font-family:"Microsoft Yahei", Arial, Tahoma, sans-serif;font-size: 14px;font-weight: bold;text-shadow: -1px -1px rgba(0,0,0,0.1), 0 0 15px rgba(255,255,255,0.75);white-space: nowrap;background: #777;border-color: #777;text-decoration: none;font-style: normal;text-transform: none; *border:none;*bottom: 1px;}



.button:hover,.button:focus {bottom: 1px;-moz-box-shadow: inset 0 -1px 3px rgba(255,255,255,0.5), 0 3px 2px rgba(0,0,0,0.2);-webkit-box-shadow: inset 0 -1px 3px rgba(255,255,255,0.5), 0 3px 2px rgba(0,0,0,0.2);box-shadow: inset 0 -1px 3px rgba(255,255,255,0.5), 0 3px 2px rgba(0,0,0,0.2);background: #999;border-color: #999;}

.button:active {top: 1px;-moz-box-shadow: inset 0 -1px 3px rgba(255,255,255,0.5), 0 1px 2px rgba(0,0,0,0.2);-webkit-box-shadow: inset 0 -1px 3px rgba(255,255,255,0.5), 0 1px 2px rgba(0,0,0,0.2);box-shadow: inset 0 -1px 3px rgba(255,255,255,0.5), 0 1px 2px rgba(0,0,0,0.2);}



.default {-moz-border-radius: 8px;-webkit-border-radius: 8px;border-radius: 8px;}

.square {-moz-border-radius: 2px;-webkit-border-radius: 2px;border-radius: 2px;}

.bubble {-moz-border-radius: 12px;-webkit-border-radius: 12px;border-radius: 12px;}



.lan {background: #166ba9;border-color: #166ba9;}

.lan:hover,.lan:focus {background: #3390CF;border-color: #3390CF;}

.red {background: #D81204;border-color: #D81204;}

.red:hover,.red:focus {background: #FF2F1F;border-color: #FF2F1F;}

.lv {background: #71AF2A;border-color: #5D9122;}

.lv:hover,.lv:focus {background: #7EC32F;border-color: #649B25; }

.qing {background: #28AF59;border-color: #22954C;}

.qing:hover,.qing:focus {background: #2FCD69;border-color: #29B35B;}

.zi {background: #9F1D78;border-color: #9F1D78;}

.zi:hover,.zi:focus {background: #CF33A0;border-color: #CF33A0;}

.juhuang {background: #FF5F09;border-color: #FF5F09;}

.juhuang:hover,.juhuang:focus {background: #FF7F09;border-color: #FF7F09;}

.hui {background: #777;border-color: #777;}

.hui:hover,.hui:focus {background: #999;border-color: #999;}
input.input1{border:1px solid #ccc;border-radius:2px;  color:#666;padding:7px 8px;padding:8px 8px 6px 8px\9; height:23px; line-height:23px; font-family:Tahoma, Geneva, sans-serif; font-weight:bold;

font-size:14px;width:200px;position: relative;}

textarea.h150{ height:150px;}

.ts {padding:5px 10px;  margin:10px auto 0 auto;  border-radius:3px;}

.ts p span{ color:#f00; font-weight:bold; padding:0 5px; font-size:14px;}
</style>
</head>
<body>
<script type="text/javascript">
function ReturnValue(reimg){
        this.parent.document.form1.CD_Tag.value=reimg;
	    this.parent.layer.closeAll();
}
</script>
<div class="box musicBus mt bgWrite">
<div style="color: #808080; margin: 10px 15px; font-size: 18px;">
 <form  action="<?php echo $_SERVER["PHP_SELF"]; ?>" method="post">
标签1：<input type="text" name="tag1" value="" style="width: 80px;" class="input1"><br><br>
标签2：<input type="text" name="tag2" value="" style="width: 80px;" class="input1"><br><br>
标签3：<input type="text" name="tag3" value="" style="width: 80px;" class="input1"><br><br>
<input type="submit" style="margin: 0px 65px;" value="确定" name="submitMe" class="button square red">
</form>
<div style="color: #808080; margin: 10px 65px; font-size: 14px;">
建议2个字标签
</div>
</div>
</div>
<?php
error_reporting(0);
if(isset($_POST['submitMe']))
{
if($_POST["tag1"]==""){$_POST["tag1"]='';}else{$_POST["tag1"]=''.$_POST["tag1"].',';}
if($_POST["tag2"]==""){$_POST["tag2"]='';}else{$_POST["tag2"]=''.$_POST["tag2"].',';}
if($_POST["tag3"]==""){$_POST["tag3"]='';}else{$_POST["tag3"]=''.$_POST["tag3"].',';}

echo'
<script type="text/javascript">
ReturnValue("'.$_POST["tag1"].''.$_POST["tag2"].''.$_POST["tag3"].'");
</script>
';
}
?>
</body>
</html>